package com.dreamstudio.springbootskeleton.controller;
import com.dreamstudio.springbootskeleton.service.UserService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.inject.Inject;

@RestController
@RequestMapping("/users")
public class UserController {

    @Inject
    private UserService userService;

    @RequestMapping("/")
    public String index() {
        return userService.index();
    }
}